Description
Used to define a Slider control in a form.
Diagram
Overview
|
SLIDER
Used to define a Slider control in a form.
|
height required xs:int
The height of the slider.
|
|
width required xs:int
The width of the slider.
|
|
x required xs:int
The x coordinate of the upper left corner of the slider.
|
|
y required xs:int
The y coordinate of the upper left corner of the slider
|
|
border optional Restriction of xs:string
Specifies whether the slider has a border.
|
|
buddy optional xs:string
The Edit control that is associated with the Slider control.
|
|
defaultvalue optional xs:string
A simple expression that specifies the default value of the slider.
|
|
field optional xs:string
The field of the shapefile's DBF table that is linked to the slider.
|
|
group optional Restriction of xs:string
Specifies whether the slider starts a new group of controls.
|
|
lower optional xs:int
The minimum number in the range of the slider.
|
|
name optional xs:string
Name of the Slider control. Used to reference the control in scripts.
|
|
orientation optional Restriction of xs:string
The orientation of the slider (horizontal or vertical).
|
|
readonly optional Restriction of xs:string
Specifies whether the slider's value can be modified by the user.
|
|
required optional Restriction of xs:string
Specifies if the user must enter some text in the slider.
|
|
tabstop optional Restriction of xs:string
Specifies whether the TAB key can be used to move the focus to the slider.
|
|
upper optional xs:int
The maximum number in the range of the slider.
|
|
Attributes
Name | Type | Use | Default | Fixed | Description |
height | xs:int | required | | | The height of the slider. |
width | xs:int | required | | | The width of the slider. |
x | xs:int | required | | | The x coordinate of the upper left corner of the slider. |
y | xs:int | required | | | The y coordinate of the upper left corner of the slider |
border | Restriction of xs:string | optional | false | | Specifies whether the slider has a border. |
buddy | xs:string | optional | | | The Edit control that is associated with the Slider control. |
defaultvalue | xs:string | optional | | | A simple expression that specifies the default value of the slider. |
field | xs:string | optional | | | The field of the shapefile's DBF table that is linked to the slider. |
group | Restriction of xs:string | optional | false | | Specifies whether the slider starts a new group of controls. |
lower | xs:int | optional | | | The minimum number in the range of the slider. |
name | xs:string | optional | | | Name of the Slider control. Used to reference the control in scripts. |
orientation | Restriction of xs:string | optional | horiz | | The orientation of the slider (horizontal or vertical). |
readonly | Restriction of xs:string | optional | false | | Specifies whether the slider's value can be modified by the user. |
required | Restriction of xs:string | optional | false | | Specifies if the user must enter some text in the slider. |
tabstop | Restriction of xs:string | optional | true | | Specifies whether the TAB key can be used to move the focus to the slider. |
upper | xs:int | optional | | | The maximum number in the range of the slider. |
Examples
Restrictions
The following attributes can only be used in edit and identify forms. They cannot be used in general forms:; field; required
Source
<xs:element name="SLIDER" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:annotation>
<xs:documentation>Used to define a Slider control in a form.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute use="required" name="height" type="xs:int">
<xs:annotation>
<xs:documentation>The height of the slider.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute use="required" name="width" type="xs:int">
<xs:annotation>
<xs:documentation>The width of the slider.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="x" type="xs:int" use="required">
<xs:annotation>
<xs:documentation>The x coordinate of the upper left corner of the slider.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="y" type="xs:int" use="required">
<xs:annotation>
<xs:documentation>The y coordinate of the upper left corner of the slider</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute default="false" name="border">
<xs:annotation>
<xs:documentation>Specifies whether the slider has a border.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="true" />
<xs:enumeration value="false" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="buddy" type="xs:string">
<xs:annotation>
<xs:documentation>The Edit control that is associated with the Slider control.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="defaultvalue" type="xs:string">
<xs:annotation>
<xs:documentation>A simple expression that specifies the default value of the slider.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="field" type="xs:string">
<xs:annotation>
<xs:documentation>The field of the shapefile's DBF table that is linked to the slider.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute default="false" name="group">
<xs:annotation>
<xs:documentation>Specifies whether the slider starts a new group of controls.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="true" />
<xs:enumeration value="false" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="lower" type="xs:int">
<xs:annotation>
<xs:documentation>The minimum number in the range of the slider.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="name" type="xs:string">
<xs:annotation>
<xs:documentation>Name of the Slider control. Used to reference the control in scripts.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute default="horiz" use="optional" name="orientation">
<xs:annotation>
<xs:documentation>The orientation of the slider (horizontal or vertical).</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="horiz" />
<xs:enumeration value="vert" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute default="false" name="readonly">
<xs:annotation>
<xs:documentation>Specifies whether the slider's value can be modified by the user.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="true" />
<xs:enumeration value="false" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute default="false" name="required">
<xs:annotation>
<xs:documentation>Specifies if the user must enter some text in the slider.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="true" />
<xs:enumeration value="false" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute default="true" name="tabstop">
<xs:annotation>
<xs:documentation>Specifies whether the TAB key can be used to move the focus to the slider.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="true" />
<xs:enumeration value="false" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="upper" type="xs:int">
<xs:annotation>
<xs:documentation>The maximum number in the range of the slider.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
|
See Also